package cn.iocoder.yudao.module.pm.controller.admin.cooked.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 熟食成品管理新增/修改 Request VO")
@Data
public class CookedSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "3603")
    private Long id;

    @Schema(description = "餐食id", requiredMode = Schema.RequiredMode.REQUIRED, example = "30942")
    @NotNull(message = "餐食id不能为空")
    private Long mealId;

    @Schema(description = "完成时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "完成时间不能为空")
    private LocalDateTime finishTime;

    @Schema(description = "告警状态 0正常，1告警中，2告警已取消", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "告警状态 0正常，1告警中，2告警已取消不能为空")
    private Integer status;

}
